<?php namespace system\model;

use hdphp\Model\Model;

class MaterialNews extends Model{
	//数据表
	protected $table = "material_news";

	//自动验证
	protected $validate=[
		['content','required','图文内容不能为空',self::MUST_VALIDATE,self::MODEL_BOTH]
	];
}